<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="app" tagdir="/WEB-INF/tags"%>
<app:page>
	<form action="${pageContext.request.contextPath}/admin/user"
		method="post" class="form-horizontal" role="form">
		<div class="form-group">
			<label for="username" class="col-sm-2 control-label">Username</label>
			<div class="col-sm-10">
				<input type="text" class="form-control" id="username"
					name="username" value="${item.username}">
			</div>
		</div>
		<div class="form-group">
			<label for="password" class="col-sm-2 control-label">Password</label>
			<div class="col-sm-10">
				<input type="text" class="form-control" id="password"
					name="password" value="${item.password}">
			</div>
		</div>
		<div class="form-group">
			<div class="col-sm-offset-2 col-sm-10">
				<button type="submit" class="btn btn-default" name="save"
					value="save">Save</button>
				<a class="btn btn-default"
					href="${pageContext.request.contextPath}/admin/user">Cancel</a>
			</div>
		</div>
	</form>
</app:page>
